package com.damionew.website.service.back;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.damionew.website.dao.back.MenuDao;
import com.damionew.website.model.back.Menu;

@Service
public class MenuService {
    @Autowired
    private MenuDao menuDao;
    public List<Menu> getSystemMenu(){
	List<Menu> list = menuDao.getSystemMenu();
	return list;
    }
    public List<Menu> getFrontMenu(){
	List<Menu> list = menuDao.getFrontMenu();
	return list;
    }
    public List<Menu> getMenuList(){
	List<Menu> menuList = menuDao.getMenuList();
	return menuList;
    }
}
